/*weui*/
@import '../../component/weui/weui.wxss';
.course-res-info {
  color: #757575;
  padding-bottom: 120rpx;
  .tab {
    position: fixed;
    width: 100%;
    top: 460rpx;
    padding-top: 100rpx;
    .van-tabs__wrap {
      height: 100rpx;
      box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.08);
    }
    .van-tab {
      color: #757575;
      .van-tab__title {
        height: 100rpx;
        line-height: 100rpx;
      }
    }
    .van-tabs__line {
      background-color: #14cc76;
      height: 8rpx !important;
      width: 32rpx !important;
      left: 4%;
      bottom: 0;
    }
    .van-tab--active {
      color: #14cc76;
      font-size: 36rpx;
      font-weight: bold;
    }
    .van-hairline--top-bottom:after {
      display: none;
    }
    .van-tabs__scroll--line {
      margin: 0 auto;
    }
    // &.van-tabs--line .van-tabs__wrap {
    // padding-right: 50%;
    //box-shadow:0 4rpx 8rpx 0 rgba(0,0,0,.1);
    // }
  }

  .preview-video {
    padding: 0;
    background: #ffffff;
    font-size: 0;
    position: fixed;
    height: 460rpx;
    width: 100%;
    top: 0;
    video {
      width: 100%;
      height: 460rpx;
      min-height: 460rpx;
    }
    .play-tip {
      height: 460rpx;
      line-height: 460rpx;
      text-align: center;
      color: #757575;
      font-size: 28rpx;
    }
  }
}

.content {
  overflow-y: auto;
  .courseware-info-box {
    box-sizing: border-box;
    padding: 40rpx;
    .courseware-info {
      align-content: flex-start;
      justify-content: center;
      margin-bottom: 20rpx;
      padding: 20rpx 15rpx;
      border: 2rpx solid #f1f1f1;
      border-radius: 16rpx;

      .icon-box {
        line-height: 52rpx;
        margin-right: 5rpx;
        .iconfont {
          font-size: 48rpx;
          &.icon-word {
            color: #007aff;
          }
          &.icon-excel {
            color: #07d0b0;
          }
          &.icon-ppt,
          &.icon-pdf,
          &.icon-flash {
            color: #ff3b30;
          }
          &.icon-music {
            color: #8127d0;
          }
          &.icon-img {
            color: #ffcc00;
          }
          &.icon-video {
            color: #07d0b0;
          }
          &.icon-other {
            color: #9b9b9b;
          }
        }
      }
      .name {
        font-size: 32rpx;
        color: #4a4a4a;
        flex: 1;
        line-height: 56rpx;
        margin-left: 10rpx;
        padding-right: 14rpx;
        &.active {
          color: #14cc76;
          font-weight: 500;
        }
      }
      .icon-check {
        font-size: 25rpx;
        line-height: 52rpx;
        color: #14cc76;
      }
    }
  }

  .total-info {
    background: #f7f7f7;
    height: 80rpx;
    line-height: 80rpx;
    padding: 0 40rpx;
    font-size: 28rpx;
    color: #4a4a4a;
    font-weight: bold;
  }

  .question-info {
    padding: 20rpx 40rpx;
    border-bottom: 2rpx solid #efefef;

    .stem {
      color: #4a4a4a;
      font-size: 32rpx;
      align-content: flex-start;
    }

    .option-box {
      margin-top: 20rpx;
    }

    .van-radio {
      margin: 20rpx 0 !important;
    }
    .xh-radio-root {
      padding: 10rpx 20rpx;
      border-radius: 8rpx;
      &.checked {
        background: rgba(39, 142, 255, 0.05);
        .xh-radio {
          color: #278eff;
        }
      }
      .xh-radio-icon {
        color: #fff;
        &.single {
          &:before {
            display: none;
          }
        }
      }

      &.single-radio {
        &.checked {
          .van-radio__icon-wrap {
            .van-radio__icon {
              position: relative;
              &:before {
                position: absolute;
                content: '';
                top: 50%;
                left: 50%;
                margin-left: -10rpx;
                margin-top: -10rpx;
                display: inline-block;
                width: 20rpx;
                height: 20rpx;
                background: #fff;
                border-radius: 100%;
              }
            }
            .xh-radio-icon {
              &:before {
                content: '';
                display: none;
              }
            }
          }
        }
      }
    }
    .xh-radio {
      color: #4a4a4a;
      width: 550rpx;
      font-size: 32rpx !important;
    }

    .answer-analyze {
      margin-top: 20rpx;
      background: #f9f9f9;
      font-size: 28rpx;
      color: #4a4a4a;
      padding: 20rpx 30rpx;
      .label {
        color: #757575;
      }

      .answer {
        .label {
          margin-right: 30rpx;
          display: inline-block;
        }
      }

      .analyze {
        .label {
          width: 86rpx;
        }

        justify-content: flex-start;
      }
    }

    .catalog-expand {
      font-size: 28rpx;
      color: #14cc76;
      text-align: right;
      margin-top: 20rpx;
      .icon-arrow-up {
        margin-left: -10rpx;
        display: inline-block;
        font-size: 20rpx;
        transform: scale(0.6);
        font-weight: bold;
      }
      .icon-arrow-down {
        margin-left: -10rpx;
        display: inline-block;
        font-size: 20rpx;
        transform: rotate(180deg) scale(0.6);
        font-weight: bold;
      }
    }

    .source-info {
      margin-top: 20rpx;
      color: #9b9b9b;
      font-size: 24rpx;
      justify-content: space-between;
      align-items: center;
      .school-teacher {
        max-width: 250rpx;
        display: inline-block;
      }
    }
    &.done {
      .xh-radio-root {
        &.checked {
          background: rgba(20, 204, 118, 0.05);
          .xh-radio {
            color: #14cc76;
          }
          &.wrong {
            background: rgba(255, 45, 85, 0.05);
            .xh-radio {
              color: #ff2d55;
            }
          }
        }
      }
    }
  }

  .answer-area {
    background: #f9f9f9;
    height: 80rpx;
    line-height: 80rpx;
    padding: 0 40rpx;
    font-size: 32rpx;
    color: #4a4a4a;
    font-weight: bold;
  }

  .uploader-box {
    padding: 48rpx 40rpx 138rpx 40rpx;
    .upload-tip-txt {
      position: absolute;
      bottom: 6rpx;
      font-size: 28rpx;
      display: inline-block;
      width: 100%;
      text-align: center;
    }
    .weui-uploader__input-box:after,
    .weui-uploader__input-box:before {
      top: 40%;
    }
    &.padding-bottom-ipx {
      padding-bottom: 240rpx;
    }
  }

  .padding-btn-ipx {
    padding-bottom: 98rpx;
  }

  .course-catalog {
    padding: 20rpx 40rpx;
    .course-tree {
      font-size: 28rpx;
      color: #757575;
      .icon-chapter {
        color: #9b9b9b;
        margin-right: 20rpx;
      }
      .check {
        display: inline-block;
        line-height: 80rpx;
        .icon-check {
          color: #14cc76;
          font-size: 20rpx;
        }
      }
      .studing {
        color: #14cc76;
        font-size: 28rpx;
        min-width: 115rpx;
      }
      .cat-txt {
        margin: 20rpx 0;
        &.first {
          font-size: 32rpx;
          font-weight: bold;
          color: #4a4a4a;
          justify-content: space-between;
          align-content: center;
          .check {
            line-height: 30rpx;
          }
        }
      }
      .sub-cat {
        margin-left: 60rpx;
        > view {
          justify-content: space-between;
          align-items: center;
        }
      }
    }
  }
}

.submit {
  font-size: 32rpx;
  height: 80rpx;
  line-height: 80rpx;
  width: 670rpx;
  margin: 20rpx auto;
  padding: 0;
  background: #14cc76;
  border-radius: 48rpx;
  color: #fff;
}
